<template>
    <div>
        <DynamicLink v-if="applyNoSet.length > 0" component="projects/afs-core-business/pages/case/approve/approve-task/caseInfoTask"
                     :is-full="true" page-title="案件查询" :params="{applyNoSet:this.applyNoSet}" :name="this.applyNoSet.length+''">
        </DynamicLink>
        <a @click="doClick" v-else>0</a>
    </div>
</template>

<script>
    export default {
        name: "monitor-detail-link",
        props:{
            applyNoSet: {
                type: Array,
                default: []
            }
        },
        data(){
            return {
            }
        },
        methods:{
            doClick(){
                if(this.applyNoSet || this.applyNoSet.length){
                    this.$Message.warning("没有可供查询案件");
                    return false;
                }
            }
        }
    }
</script>

<style scoped>

</style>
